﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.master" CodeFile="registration.aspx.cs" Inherits="registration" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">


<head >
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 77%;
            height: 396px;
        }
        .style2
        {
            width: 105px;
        }
        .style3
        {
            width: 204px;
        }
        .style10
        {
            width: 105px;
            height: 44px;
        }
        .style11
        {
            width: 204px;
            height: 44px;
        }
        .style22
        {
            width: 105px;
            height: 43px;
        }
        .style23
        {
            width: 204px;
            height: 43px;
        }
        .style25
        {
            width: 105px;
            height: 39px;
        }
        .style26
        {
            width: 204px;
            height: 39px;
        }
        .style34
        {
            width: 105px;
            height: 46px;
        }
        .style35
        {
            width: 204px;
            height: 46px;
        }
        .style31
        {
            width: 105px;
            height: 63px;
        }
        .style32
        {
            width: 204px;
            height: 63px;
        }
        .style37
        {
            width: 324px;
            height: 67px;
        }
        .style38
        {
            width: 227px;
        }
        .style39
        {
            width: 227px;
            height: 44px;
        }
        .style40
        {
            width: 227px;
            height: 43px;
        }
        .style41
        {
            width: 227px;
            height: 39px;
        }
        .style42
        {
            width: 227px;
            height: 46px;
        }
        .style43
        {
            width: 227px;
            height: 63px;
        }
        .style44
        {
            color: #FF0000;
        }
    </style>
</head>
<body>
    <form id="form1">
    <div>
    
        <table class="style1" align="center">
            <tr>
                <td class="style2">
                    KidName:</td>
                <td class="style3">
                    <asp:TextBox ID="Name" runat="server" Height="37px" Width="200px"></asp:TextBox>
                </td>
                <td class="style38">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="Name" CssClass="style44" ErrorMessage="Name is required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style10">
                    Password:</td>
                <td class="style11">
                    <asp:TextBox ID="Password" runat="server" Height="31px" TextMode="Password" 
                        Width="200px"></asp:TextBox>
                </td>
                <td class="style39">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="Password" CssClass="style44" 
                        ErrorMessage="Password is required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style22">
                    Confirm pass:</td>
                <td class="style23">
                    <asp:TextBox ID="conpass" runat="server" Height="33px" TextMode="Password" 
                        Width="200px"></asp:TextBox>
                </td>
                <td class="style40">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="conpass" CssClass="style44" 
                        ErrorMessage="Confirm Pssword is required"></asp:RequiredFieldValidator>
                    <br />
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="Password" ControlToValidate="conpass" 
                        ErrorMessage="Both password must be match" ForeColor="Red"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td class="style25">
                    Level:</td>
                <td class="style26">
                    &nbsp;&nbsp;&nbsp;
                    <asp:DropDownList ID="Level" runat="server" Height="25px" Width="127px">
                        <asp:ListItem>Select Level</asp:ListItem>
                        <asp:ListItem>Level 1</asp:ListItem>
                        <asp:ListItem>Level 2</asp:ListItem>
                        <asp:ListItem>Level 3</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="style41">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="Level" ErrorMessage="Level is required" ForeColor="Red" 
                        InitialValue="Select Level"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style34">
                    Gendar:</td>
                <td class="style35">
                    &nbsp;&nbsp;&nbsp;
                    <asp:RadioButtonList ID="gendar" runat="server" 
                        onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">
                        <asp:ListItem>girl</asp:ListItem>
                        <asp:ListItem>boy</asp:ListItem>
                    </asp:RadioButtonList>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td class="style42">
                </td>
            </tr>
            <tr>
                <td class="style31">
                    Phone:</td>
                <td class="style32">
                    <asp:TextBox ID="Phone" runat="server" Height="30px" Width="200px"></asp:TextBox>
                </td>
                <td class="style43">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="Phone" CssClass="style44" ErrorMessage="Phone is required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style37">
                    <asp:Button ID="Button1" runat="server" Height="46px" onclick="Button1_Click1" 
                        Text="register" Width="111px" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</asp:Content>

